﻿/*******************************************************************************
*Author         :  VN
*Description    :  心跳包基类
*Other          :  none
*Modify Record  :  2015/7/6
*******************************************************************************/

using System;

namespace Network
{
    public delegate void DelegateChnlClose(int errcode);
    public interface INetAlive
    {
        void AddListener(DelegateChnlClose cb);
        void DelListener(DelegateChnlClose cb);
        void InitChnl(NetChnl chnl);

        void StartHello();
        void StopHello();
    }
}
